﻿<!DOCTYPE html>
<html>
  <head>
    <title>审核信息--未通过</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link href="resources/resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet"/>
    <link href="resources/resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
    <link href="resources/data/styles.css" type="text/css" rel="stylesheet"/>
    <link href="resources/files/审核信息--未通过/styles.css" type="text/css" rel="stylesheet"/>
    <script src="resources/resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="resources/resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <style>
        table,td,th{
            border: 1px solid;
            border-collapse: collapse;
            word-wrap:break-word;
            font-size: 13px;
        }
        th{
            background: #ccc;
        }
        table tr:nth-child(odd){
            background: #80b7cc;
        }
        #dataTable{
            border-width:0px;
            position:absolute;
            left:70px;
            top:183px;
            width:694px;
            text-align: center;
        }
        #dataTable tr{
            height: 30px;
        }
        #u243_div {
          border-width:0px;
          position:absolute;
          left:0px;
          top:0px;
          width:140px;
          height:40px;
          background:inherit;
          background-color:rgba(255, 255, 255, 1);
          box-sizing:border-box;
          border-width:1px;
          border-style:solid;
          border-color:rgba(121, 121, 121, 1);
          border-radius:5px;
          -moz-box-shadow:none;
          -webkit-box-shadow:none;
          box-shadow:none;
        }
        #u243 {
          border-width:0px;
          position:absolute;
          left:329px;
          top:535px;
          width:140px;
          height:40px;
        }
        #u243_text {
          border-width:0px;
          position:absolute;
          left:2px;
          top:12px;
          width:136px;
          word-wrap:break-word;
        }
        #pages {
            padding: 0px;
            position: absolute;
            left: 240px;
            top: 420px;
            list-style: none;
            width: 350px;
            height: 25px;
            border: 2px solid rgba(121, 121, 121, 1);
            border-radius: 5px;
            line-height: 25px;
            text-align: center;
        }
        #pages  li{
            display: inline-block;
            width: 50px;
            cursor: pointer;
        }
        #pages li:hover{
            background-color: whitesmoke;
        }

    </style>
    <script>
        var session = "";
        $(function() {
            $.ajax({
                url:"/getSession",
                dataType:"json",
                type:"post",
                async:false,
                success:function(data) {
                    session = data;
                }
            })
            loadPersonalInformationCheckShow(1);
        })
        function loadPersonalInformationCheckShow(pageNum) {
            if(session!=""){
                if(pageNum=="")
                    pageNum = 1;
                $.ajax({
                    url:"/loadPersonalInformationCheckShow",
                    data:{userId:session,pageNum:pageNum},
                    dataType:"json",
                    type:"post",
                    success:function(data) {
                        var html =    '<tr>'+
                                      '<th>编号</th>'+
                                      '<th>姓名</th>'+
                                      '<th>手机号</th>'+
                                      '<th>填写时间</th>'+
                                      '<th>审核状态</th>'+
                                      '<th>原因</th>'+
                                      '</tr>';
                        var table = $("#dataTable");
                        table.empty();
                        $.each(data.list,function(index,item) {
                            html += '<tr>'+
                                    '<td width="80">'+item.id+'</td>'+
                                    '<td width="150">'+item.name+'</td>'+
                                    '<td width="80">'+item.personalMobilePhone+'</td>'+
                                    '<td width="120">'+(item.submitTime==undefined?"":item.submitTime)+'</td>'+
                                    '<td width="120">'+(item.auditState==1?"审核中":(item.auditState==2)?"通过":"未通过")+'</td>'+
                                    '<td width="80">'+(item.examineStatus==undefined?"":item.examineStatus)+'</td>'+
                                    '</tr>'
                        })
                        var page = '<ul id="pages" class="ax_default">'+
                                   '<li onclick="loadPersonalInformationCheckShow(1)"><span>首页</span></li>'+
                                   '<li onclick="loadPersonalInformationCheckShow('+(data.hasPreviousPage?data.prePage:1)+')"><span>上一页</span></li>'+
                                   '<li onclick="loadPersonalInformationCheckShow('+(data.hasNextPage?data.nextPage:data.pages)+')"><span>下一页</span></li>'+
                                   '<li onclick="loadPersonalInformationCheckShow('+(data.pages)+')"><span>尾页</span></li>'+
                                   '<li><span>共'+(data.pages)+'页</span></li>'+
                                   '<li><span>第'+(data.pageNum)+'页</span></li>'+
                                   '</ul>';
                        table.append(html);
                        $("#page").empty();
                        $("#page").append(page);
                    }
                })
            }
        }
    </script>
  </head>
  <body>
    <div id="base" class="">
        <div id="page"></div>
      <table id="dataTable">
        <tr>
            <td>编号</td>
            <td>姓名</td>
            <td>手机号</td>
            <td>填写时间</td>
            <td>审核状态</td>
            <td>原因</td>
        </tr>
      </table>

      <!-- Unnamed (矩形) -->
      <div id="u240" class="ax_default box_1">
        <div id="u240_div" class=""></div>
        <div id="u240_text" class="text ">
          <p><span>流动人口服务管理系统</span></p>
        </div>
      </div>

      <!-- Unnamed (水平线) -->
      <div id="u241" class="ax_default line">
        <img id="u241_img" class="img " src="resources/images/审核中/u206.png"/>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u242" class="ax_default box_1">
        <div id="u242_div" class=""></div>
        <div id="u242_text" class="text ">
          <p><span>提交信息审核状态</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u243" class="ax_default button" onclick="window.location.href='/toMoFang'">
        <div id="u243_div" class=""></div>
        <div id="u243_text" class="text ">
          <p><span>返回</span></p>
        </div>
      </div>
    </div>
  </body>
</html>
